Skip to content

Getting YUIDoc working and generating API documentation#280

Open
Jimgskoop wants to merge 2 commits intoDroppe:masterfrom
Jimgskoop:master
Open

Getting YUIDoc working and generating API documentation#280
Jimgskoop wants to merge 2 commits intoDroppe:masterfrom
Jimgskoop:master

Conversation

@Jimgskoop
Copy link
Contributor

Added YUIDoc NPM requirements to package.json.
Set up yuidoc generation task in grunt.
Fixed a lot of the documentation blocks within the code to work as best as possible within YUIDoc -- YUIDoc has no concept of decorators, for example, so I used the @uses keyword to indicate the decoration relationship. I also had to rename the decoration code in scripts/decorators/state.js to "genericStateDecorator" because it was conflicting with "stateDecorator" from scripts/components/button/decorators/state.js.

To generate the documentation, do "npm install" and then execute "grunt yuidoc". Output is in docs/yuidoc.

@Jimgskoop
Copy link
Contributor Author

@Iheartweb Should I add some of these files to the .gitignore?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant